﻿#include "CmdCloseCenterTableBar.h"

#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdCloseCenterTableBar::CmdCloseCenterTableBar()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdCloseCenterTableBar::~CmdCloseCenterTableBar()
    {
    }

    bool CmdCloseCenterTableBar::execute()
    {
        emit IBaseSignalInstance->signal_closeCenterTableBar(m_index);
        return true;
    }

    void CmdCloseCenterTableBar::undo()
    {
    }

    void CmdCloseCenterTableBar::redo()
    {
    }

} // namespace PostCommand

